package com.springmvc.t11.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.DispatcherServlet;

@ComponentScan("com.springmvc.t11")
@Configuration
public class WebConfig {

	@Bean
	public DispatcherServlet dispatcherServlet(){
		return new DispatcherServlet();
	}

}
